#include"vector_reproduction.h"

using namespace bit;

int main()
{
	vector<int> v(2, 1);
	for (auto ch : v)
	{
		cout << ch << " ";
	}
	cout << endl;

	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);
	for (auto ch : v)
	{
		cout << ch << " ";
	}
	cout << endl;

	cout << "v.size():" << v.size() << endl;
	cout << "v[4]:" << v[4] << endl;
	cout << "v.capacity():" << v.capacity() << endl;

	v.pop_back();
	v.pop_back();
	for (auto ch : v)
	{
		cout << ch << " ";
	}
	cout << endl;

	v.insert(v.begin(), 10);
	v.insert(v.end(), 10);
	for (auto ch : v)
	{
		cout << ch << " ";
	}
	cout << endl;

	v.erase(v.begin());
	v.erase(v.begin());

	for (auto ch : v)
	{
		cout << ch << " ";
	}
	cout << endl;


	return 0;
}